package dbtest.com;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cache.annotation.EnableCaching;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.ComponentScans;

@MapperScan("dbtest.com.mapper")
@ComponentScans({
        @ComponentScan("dbtest.com.*"),
        @ComponentScan("dbtest.com.service"),
        @ComponentScan("dbtest.com.controller")

})

@SpringBootApplication
@EnableCaching
public class DbtestApplication {

    //dd
    public static void main(String[] args) {
        SpringApplication.run(DbtestApplication.class, args);
    }

}
